package com.dhcc.bpm.modules.content.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.content.entity.OperationTrack;
import com.dhcc.bpm.modules.content.mapper.OperationTrackMapper;
import com.dhcc.bpm.modules.content.service.IOperationTrackService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dhcc.bpm.modules.content.vo.OperationTrackVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 操作日志表 服务实现类
 * </p>
 *
 * @author cdh
 * @since 2021-12-08
 */
@Service
public class OperationTrackServiceImpl extends ServiceImpl<OperationTrackMapper, OperationTrack> implements IOperationTrackService {

    @Override
    public IPage<OperationTrackVO> selectOperationTrackPage(IPage<OperationTrackVO> page, OperationTrackVO operationTrack) {
        return page.setRecords(baseMapper.selectOperationTrack(page, operationTrack));
    }
}
